package jgl.vajra.operator.part.vehicle.activity;

import jgl.vajra.operator.R;
import jgl.vajra.operator.databinding.ActivityImmediatePaymentBinding;
import jgl.vajra.operator.part.vehicle.contract.ImmediatePaymentContract;
import jgl.vajra.operator.part.vehicle.viewModel.ImmediatePaymentViewModel;
import jgl.vajra.operator.widget.mvvm.factory.CreateViewModel;
import jgl.vajra.operator.widget.mvvm.view.BaseMVVMActivity;
import jgl.vajra.operator.widget.utils.ToastUtils;

@CreateViewModel(ImmediatePaymentViewModel.class)
public class ImmediatePaymentActivity extends BaseMVVMActivity<ImmediatePaymentViewModel, ActivityImmediatePaymentBinding> implements ImmediatePaymentContract.View {
    @Override
    public int getLayoutId() {
        return R.layout.activity_immediate_payment;
    }

    @Override
    public void initView() {
        super.initView();
        mBinding.setView(this);

    }


    @Override
    public void onDetermine() {
        ToastUtils.showShort("确定支付");
        finish();
    }
}
